﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SCRS.Model;
/// <summary>
/// 日志记录
/// </summary>
[Table("SYS_LOGGER_RECORD")]
public class LoggerRecord
{
    [Key]
    [Column("ID")]
    public Guid Id { get; set; } = Guid.NewGuid();
    [Column("OPERATION_TIME")]
    public DateTime OperationTime { get; set; } = DateTime.Now;
    [Column("OPERATOR")]
    public int Operator { get; set; }
    [Column("OPERATION_TYPE")]
    public string OperationType { get; set; }
    [Column("CONTENT",TypeName = "json")]
    public string Content { get; set; }
}